<%@ Page Language="C#" MasterPageFile="~/GUI/Webpage/MasterTunga.master" AutoEventWireup="true" CodeFile="RestaurantDetails.aspx.cs" Inherits="GUI_Webpage_RestaurantDetails" Title="RESTAURANT DETAILS | TUNGA Restaurants" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table class="tdHolder">
     <tr>
                        <td>
                            <table cellpadding="5" cellspacing="5">
                                <tr> 
                                    <td colspan="2">
                                        <img src="../../GUI/Image/WebsiteTemplate/30-4/Title_Welcome.jpg" alt="Welcome" /></td>
                                </tr>
                                <tr>
                                    <td>
                                        <table align="right" class="tdTextContent" cellpadding="0" cellspacing="2">
                                            <tr>
                                                <td> 
                                                <strong>
                                                    <i>
                                                        Select restaurants
                                                    </i>
                                                </strong>
                                                  </td>
                                                 <td>
                                                        <asp:DropDownList ID="drpRestaurant" runat="server" class="controlText" AutoPostBack="True" OnSelectedIndexChanged="ddlRestaurant_SelectedIndexChanged">
                                                         
                                                        </asp:DropDownList>
                                                 </td>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdTextContent">
                                        <table class="TableOrderContent" cellpadding="10"; cellspacing="10">
                                             <tr>
                                            <td class="tdDetail">
                                             <asp:DetailsView ID="dtViewDetailsRestaurant" runat="server" AutoGenerateRows="False" CellPadding="2" ForeColor="Black" GridLines="None" Width="600px" BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px">
                                                <Fields>
                                                
                                                     <asp:ImageField DataImageUrlField="resPicture">    
                                                      </asp:ImageField>
                                                      
                                                     <asp:BoundField 
                                                        DataField = "resName"
                                                        HeaderText = "Restaurant name: "
                                                        ReadOnly = "True"
                                                     />
                                                     <asp:BoundField 
                                                        DataField = "phone"
                                                        HeaderText = "Restaurant phone: "
                                                        ReadOnly = "True"
                                                     />
                                                     <asp:BoundField 
                                                        DataField = "address"
                                                        HeaderText = "Address: "
                                                        ReadOnly = "True"
                                                     />
                                                      <asp:BoundField 
                                                        DataField = "resDescription"
                                                        HeaderText = "Description: "
                                                        ReadOnly = "True"
                                                     />
                                                     
                                                </Fields>
                                                <EmptyDataTemplate> No information yet. Update later...
                                                </EmptyDataTemplate>
                                                    <FooterStyle BackColor="Tan" />
                                                    <EditRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
                                                    <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" HorizontalAlign="Center" />
                                                    <HeaderStyle BackColor="Tan" Font-Bold="True" />
                                                 <FooterTemplate>
                                                     &nbsp;
                                                 </FooterTemplate>
                                                 <HeaderTemplate>
                                                        RESTAURANT DETAILS
                                                 </HeaderTemplate>
                                                 <AlternatingRowStyle BackColor="PaleGoldenrod" />
                                                </asp:DetailsView>
                                            </td>
                                </tr>
                                        </table>
                                    </td>
                                </tr>
                </table>
                </td>
      </tr>
</table>
</asp:Content>

